package org.dromara.run.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 免跑申请表对象 phy_run_application
 *
 * @author Lion Li
 * @date 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("phy_run_application")
public class Application extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 免测的唯一标识
     */
    @TableId(type = IdType.AUTO, value = "application_id")
    private Long applicationId;

    /**
     * 学生id，关联学生表
     */
    private String memberId;

    /**
     * 阳光跑计划id，关联阳光跑计划表
     */
    private String scheduleId;

    /**
     * 免测原因
     */
    private String reason;

    /**
     * 附件路径
     */
    private String filePath;

    /**
     * 0:待审核，1:通过，2:不通过
     */
    private String approveStatus;

    /**
     * 审批日期
     */
    private Date approveDate;

    /**
     * 审批人，存放id
     */
    private String approver;


}
